package com.appkubes.fintech.admin.application.data.contact.dao;

import com.appkubes.fintech.core.pojo.FintechDataContactMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @Author: Rongjie
 * @Date: 2020/1/13 0:29
 * @Description:
 */
@Repository
public interface DataContactDao extends FintechDataContactMapper {

    @Select({"select count(*) from fintech_data_contact where user_key=#{userKey}"})
    int selectCount(@Param("userKey") String userKey);
}
